b2bc24
@@ -99,10 +99,10 @@
public CommandProcessorResponse(int responseCode, String errorMessage, String SQ
   public int getErrorCode() { return hiveErrorCode; }
   public List<String> getConsoleMessages() { return consoleMessages; }
   public String toString() {
-    return "(" + responseCode + "," + errorMessage + "," +
-      (hiveErrorCode > 0 ? hiveErrorCode + "," : "" ) +
-      SQLState +
-      (resSchema == null ? "" : ",") +
-      (exception == null ? "" : exception.getMessage()) + ")";
+    return "(responseCode = " + responseCode + ", errorMessage = " + errorMessage + ", " +
+      (hiveErrorCode > 0 ? "hiveErrorCode = " + hiveErrorCode + ", " : "" ) +
+      "SQLState = " + SQLState +
+      (resSchema == null ? "" : ", resSchema = " + resSchema) +
+      (exception == null ? "" : ", exception = " + exception.getMessage()) + ")";
   }
 }
